package model

import "gorm.io/gorm"

type Video struct {
	gorm.Model
	Url       string `gorm:"type:varchar(500)"`
	UserId    int    `gorm:"type:int(11)"`
	TypeId    int    `gorm:"type:int(11)"`
	Title     string `gorm:"type:varchar(100)"`
	Des       string `gorm:"type:varchar(200)"`
	Address   string `gorm:"type:varchar(20)"`
	Tag       string `gorm:"type:enum('独播','4k','杜比音效')"`
	ClassesId int    `gorm:"type:int(11)"`
	Len       int    `gorm:"type:int(11)"`
	IsVip     int    `gorm:"type:int(1)"`
	ViewCount int    `gorm:"type:int(13)"`
	Status    int    `gorm:"type:int(1)"`
	StatusDes string `gorm:"type:varchar(100)"`
}
